package com.example.museum.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("cultural_info")
public class CulturalInfo {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String title;           // 资讯标题
    private String expertName;      // 专家姓名
    private String image;           // 资讯图片
    private String expertAvatar;    // 专家头像
    private String description;     // 资讯描述
    private String expertComment;   // 专家点评
    private LocalDateTime createTime; // 创建时间
    private LocalDateTime updateTime; // 更新时间
}